package com.wanxi.service;

import com.wanxi.dao.ProductDao;
import com.wanxi.model.ProductModel;

import java.util.List;

public class ProductService {
    public List<ProductModel> getHomeProductData() {
        ProductDao productDao=new ProductDao();
        return productDao.getHomeProductData();
    }

    public List<ProductModel> getCompanyProductData() {
        ProductDao productDao=new ProductDao();
        return productDao.getCompanyProductData();
    }
}
